home *** CD-ROM | disk | FTP | other *** search
- global gMachineData, gMasterData, gHandCursor, gFingerCursor
-
- on prepareMovie
- setModule(gMasterData, #main)
- set the text of member "PrintAllAnswers" to EMPTY
- set gHandCursor to [member "hand cursor" of castLib "Shared", member "hand mask" of castLib "Shared"]
- set gFingerCursor to [member "finger cursor" of castLib "Shared", member "finger mask" of castLib "Shared"]
- set the exitLock to 1
- if the keyDownScript = EMPTY then
- set the keyDownScript to "quitCatcher"
- end if
- cursor(0)
- if not windowPresent("Sound Control") then
- preLoadMovie("Sound")
- end if
- end
-
- on clearFields
- set vEmptyList to ["define field", "PrintAllAnswers", "Island1 field", "assessment field", "eggs field", "keyboard field", "patterns field", "puzzler field", "reflect field", "storyteller field", "think3D field", "Island2 field", "bias field", "clue field", "facts field", "sleuth field", "whyfiles field", "skilluse field", "response1", "response2", "end field 1", "end field 2", "end field 3", "end field 4", "end field 5", "fact field", "opinion field", "reply1", "reply3", "reply9", "reply11", "reply13", "reply15", "reply17", "reply19", "reply21", "rfield1", "rfield2", "rfield3", "rfield4", "rfield5", "rfield6", "rfield7", "rfield8", "rfield9", "rfield10", "rfield11", "rfield12", "rfield13", "rfield14", "rfield15", "rfield16", "rfield17", "rfield18", "plan1", "plan2", "plan3", "plan4", "plan5", "plan6", "plan7", "plan8", "plan9", "plan10", "plan11", "plan12", "plan13", "eval1 field", "eval2 field", "eval3 field", "charisma field 1", "charisma field 2", "charisma field 3", "charisma field 4", "charisma field 5", "fit field 1", "fit field 2", "fit field 3", "fit field 4", "fit field 5", "spinach field 1", "spinach field 2", "spinach field 3", "spinach field 4", "spinach field 5", "reflectquests field 1", "reflectquests field 2", "reflectquests field 3"]
- repeat with x in vEmptyList
- set the text of member x of castLib "Shared" to EMPTY
- end repeat
- end
-
- on quitNow
- restoreMachine(gMachineData)
- halt()
- end
-
- on playTinaMovie
- stopSounds()
- go("Tina")
- activate(gMasterData, #video)
- end
-
- on preLoadTina
- set the fileName of member "intro" to "@/Media/" & "tintro.mov"
- set the preloadRam to 0.29999999999999999 * the size of member "intro"
- preloadMember(member "intro")
- end
-